package com.czl.elm.util;

import com.czl.elm.domain.UsersLoginParam;
import org.springframework.security.core.context.SecurityContextHolder;

public class CheckUsers {
    public String checkUser(){
        String id = ((UsersLoginParam) SecurityContextHolder.getContext().getAuthentication().getPrincipal()).getPhoneName();
        return id;
    }
}
